home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 5817 / 5817.xpi / chrome / content / RowOperations.xul < prev    next >
Extensible Markup Language  |  2010-02-11  |  3KB  |  70 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3.  
  4. <!DOCTYPE window SYSTEM "chrome://sqlitemanager/locale/sqlitemanager.dtd">
  5.  
  6. <dialog id="dialog-table-operations" title=""
  7.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  8.   xmlns:html="http://www.w3.org/1999/xhtml"
  9.   buttons="accept,cancel"
  10.   persist="width sizemode"
  11.   ondialogaccept="return RowOperations.doOK();"
  12.   ondialogcancel="return RowOperations.doCancel();"
  13.   onload="RowOperations.loadDialog();">
  14.  
  15.   <script type="application/x-javascript" src="globals.js"/>  
  16.   <script type="application/x-javascript" src="RowOperations.js"/>  
  17.  
  18.   <keyset>
  19.     <key id="const-1" modifiers="control" key="1" oncommand="RowOperations.typeConstant('CURRENT_DATE')"/>
  20.     <key id="const-2" modifiers="control" key="2" oncommand="RowOperations.typeConstant('CURRENT_TIME')"/>
  21.     <key id="const-3" modifiers="control" key="3" oncommand="RowOperations.typeConstant('CURRENT_TIMESTAMP')"/>
  22.   </keyset>
  23.  
  24. <notificationbox id="boxNotify" flex="1">
  25.  
  26. <deck id="deck-rowedit" selectedIndex="0" flex="1">
  27. <vbox id="vbEdit" style="overflow:auto" flex="1">
  28. <!-- dropdown list for table names-->
  29.   <hbox style="margin:5px 0 5px 0;">
  30.     <spacer flex="1"/>
  31.     <label id="label-name" style="padding-top:3px" 
  32.       accesskey="&rowOperations.tablenames.ak;"
  33.       control="tablenames" value="&rowOperations.tablenames;"/>
  34.     <menulist id="tablenames" value=""
  35.       style="width: 25ex" sizetopopup="always" 
  36.       oncommand="RowOperations.selectTable('tablenames')">
  37.       <menupopup>
  38.         <menuitem label="&rowOperations.loading;" selected="true"/>
  39.       </menupopup>
  40.     </menulist>
  41.     <spacer flex="1"/>
  42.     <textbox id="reference" readonly="true" hidden="true" style="width:1px;"  />
  43.   </hbox>
  44.  
  45. <!-- vbox to show when insert/update/delete/search operation is invoked -->
  46.   <vbox id="vbox-insert">
  47.     <groupbox id="columnEntryFields" flex="1">
  48.     </groupbox>
  49.   </vbox>
  50.   <vbox hidden="true">
  51.     <menulist id="defaultvalue" style="width:150px"
  52.       sizetopopup="always" editable="true"
  53.       oncommand="">
  54.       <menupopup>
  55.         <menuitem id="mi-val-null" label="" selected="true"/>
  56.         <menuitem label="CURRENT_DATE" />
  57.         <menuitem label="CURRENT_TIME" />
  58.         <menuitem label="CURRENT_TIMESTAMP" />
  59.       </menupopup>
  60.     </menulist>
  61.   </vbox>
  62. </vbox>
  63. <vbox id="vbConfirm">
  64. <description id="tbMessage" style="white-space: pre-wrap;" flex="1"/>
  65. <!--<textbox id="tbMessage" rows="8" multiline="true" readonly="true" flex="1"/>-->
  66. </vbox>
  67. </deck>
  68. </notificationbox>
  69. </dialog>
  70.